<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>py2ecotect.obj._node.Node</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="py2ecotect-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >py2ecotect</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="py2ecotect-module.html">Package&nbsp;py2ecotect</a> ::
        <a href="py2ecotect.obj-module.html">Package&nbsp;obj</a> ::
        <a href="py2ecotect.obj._node-module.html" onclick="show_private();">Module&nbsp;_node</a> ::
        Class&nbsp;Node
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="py2ecotect.obj._node.Node-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Node</h1><p class="nomargin-top"><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node">source&nbsp;code</a></span></p>
<pre class="base-tree">
object --+
         |
        <strong class="uidshort">Node</strong>
</pre>

<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">obj</span>,
        <span class="summary-sig-arg">node_eco_id</span>)</span><br />
      x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#delete" class="summary-sig-name">delete</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">node_index</span>=<span class="summary-sig-default">0</span>)</span><br />
      The delete function removes the specified node from its object.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.delete">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#move_by_vec" class="summary-sig-name">move_by_vec</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">vector</span>)</span><br />
      Moves the specified node in the last selected object.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.move_by_vec">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#nudge" class="summary-sig-name">nudge</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">dir</span>)</span><br />
      Nudges the specified node in the last selected object, by the current
      grid snap distance.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.nudge">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#rotate" class="summary-sig-name">rotate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">azi</span>,
        <span class="summary-sig-arg">alt</span>)</span><br />
      Rotates the specified node in the last created object about the 
      Transformation Origin (see set.model.origin for more information).</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.rotate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#rotate_axis" class="summary-sig-name">rotate_axis</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">rotation_value</span>)</span><br />
      Rotates the specified node in the last created object about the 
      Transformation Origin (see set.model.origin for more information) 
      along the specified axes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.rotate_axis">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#rotate_reverse" class="summary-sig-name">rotate_reverse</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">azi</span>,
        <span class="summary-sig-arg">alt</span>)</span><br />
      Similar to node.rotate, this command rotates the specified node in 
      the last created object about the Transformation Origin, except in 
      reserve order.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.rotate_reverse">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#scale" class="summary-sig-name">scale</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">scale_factor</span>)</span><br />
      Scale the specified node in the last selected object.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.scale">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#xform" class="summary-sig-name">xform</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">trans</span>,
        <span class="summary-sig-arg">function_values</span>)</span><br />
      Applies a generic transformation to the specified node in the last 
      selected object.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.xform">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#get_flag" class="summary-sig-name">get_flag</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">flag</span>)</span><br />
      Gets the state of individual node flags.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.get_flag">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#set_flag" class="summary-sig-name">set_flag</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">flag</span>,
        <span class="summary-sig-arg">state</span>=<span class="summary-sig-default">True</span>)</span><br />
      Sets individual flags that control the display of attribute values.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.set_flag">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#get_type" class="summary-sig-name">get_type</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Retrieves the node type for the specified node in the last created 
      object, according to the following Node Types table.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.get_type">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#set_type" class="summary-sig-name">set_type</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">type</span>,
        <span class="summary-sig-arg">link</span>=<span class="summary-sig-default">-1</span>)</span><br />
      Sets the node type for the specified node in the last created object.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.set_type">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS METHODS ==================== -->
<a name="section-ClassMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="py2ecotect.obj._node.Node-class.html#_gen_node" class="summary-sig-name" onclick="show_private();">_gen_node</a>(<span class="summary-sig-arg">cls</span>,
        <span class="summary-sig-arg">object</span>,
        <span class="summary-sig-arg">index</span>,
        <span class="summary-sig-arg">point</span>,
        <span class="summary-sig-arg">nodeType</span>=<span class="summary-sig-default">0</span>,
        <span class="summary-sig-arg">link</span>=<span class="summary-sig-default">0</span>)</span><br />
      Use this command to create new nodes in the model.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node._gen_node">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_object"></a><span class="summary-name">_object</span> = <code title="None">None</code>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="py2ecotect.obj._node.Node-class.html#eco_id" class="summary-name">eco_id</a><br />
      Id of the node object
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="py2ecotect.obj._node.Node-class.html#flags" class="summary-name">flags</a><br />
      Retrieves a value representing the total of all the node's flags.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="py2ecotect.obj._node.Node-class.html#link" class="summary-name">link</a><br />
      Gets the node or object this node is linked to.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="py2ecotect.obj._node.Node-class.html#modifier" class="summary-name">modifier</a><br />
      Gets the node modifier value.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="py2ecotect.obj._node.Node-class.html#position" class="summary-name">position</a><br />
      Retrieves the position of the node in absolute world coordinates in 
      each of the major axes.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="py2ecotect.obj._node.Node-class.html#selected" class="summary-name">selected</a><br />
      Retrieves the selection state of the specified node.
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">obj</span>,
        <span class="sig-arg">node_eco_id</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>x.__init__(...) initializes x; see x.__class__.__doc__ for 
  signature</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="_gen_node"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_gen_node</span>(<span class="sig-arg">cls</span>,
        <span class="sig-arg">object</span>,
        <span class="sig-arg">index</span>,
        <span class="sig-arg">point</span>,
        <span class="sig-arg">nodeType</span>=<span class="sig-default">0</span>,
        <span class="sig-arg">link</span>=<span class="sig-default">0</span>)</span>
    <br /><em class="fname">Class Method</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node._gen_node">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Use this command to create new nodes in the model. It returns the 
  zero-based index of the node just added which you can then use to edit 
  properties.</p>
  <p>Parameter(s) This property takes the following parameters.</p>
  <p>object The integer index of the object to add the new node to.</p>
  <p>index The integer index of the node at which to add, given in the 
  range 0 to the number of nodes already in the object. If an index less 
  than the number of nodes in the object is given, the node is inserted at 
  the given index and all nodes at a greater index are incremented up by 
  one.</p>
  <p>points A list of three values that represents the absolute position in
  the X, Y and Z axis of a point in 3 dimensional model space.</p>
  <p>[nodeType] Sets the type of node, according to the following Node 
  Types table.</p>
  <p>[link] The zero-based index of the object or node to which the 
  specified node is to be linked.</p>
  <p>Relevant Data Table(s)</p>
  <p>Node Types Token Value Description editable 0 An editable unlinked 
  node (default) constrained 1 Constrained to parent extrusion vector. 
  linked 2 Linked to another node by current offset. locked 3 Locked in 
  place. bound 4 Bound to the position of linked node. fillet 5 Control 
  node for a virtual fillet. arc 6 Control node for a virtual arc. bezier 7
  Control node for a virtual 3pt bezier spline. spline 8 Control node for a
  virtual spline curve.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="delete"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">delete</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">node_index</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.delete">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>The delete function removes the specified node from its object.</p>
  <p>Parameter(s) This command takes the following parameters.</p>
  <p>[node_index] The index of the node belonging to the object. It is not 
  the id of the node. Default value is 0.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="move_by_vec"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">move_by_vec</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">vector</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.move_by_vec">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Moves the specified node in the last selected object.</p>
  <p>Parameter(s) This command takes the following parameters.</p>
  <p>vector A list of three values that specify the move distance and 
  direction in each of the major X, Y and Z axis.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="nudge"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">nudge</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">dir</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.nudge">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Nudges the specified node in the last selected object, by the current 
  grid snap distance.</p>
  <p>Parameter(s) This command takes the following parameters.</p>
  <p>dir The nudge direction, according to the table below.</p>
  <p>Relevant Data Table(s)</p>
  <p>Nudge Directions Value Description 1, -1 In the X axis. 2, -2 In the Y
  axis. 3, -3 In the Z axis.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="rotate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">rotate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">azi</span>,
        <span class="sig-arg">alt</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.rotate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Rotates the specified node in the last created object about the 
  Transformation Origin (see set.model.origin for more information). 
  Normally, polar rotation is done about the y-axis (altitude) first and 
  then the z-axis (aziumuth).</p>
  <p>Parameter(s) This command takes the following parameters.</p>
  <p>azi The azimuth angle of rotation, in decimal degrees.</p>
  <p>alt The altitude angle of rotation, in decimal degrees.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="rotate_axis"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">rotate_axis</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">rotation_value</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.rotate_axis">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Rotates the specified node in the last created object about the 
  Transformation Origin (see set.model.origin for more information) along 
  the specified axes.</p>
  <p>Parameter(s) This command takes the following parameters.</p>
  <p>rotation_value A list of three values that specify the amount of 
  rotation in decimal degrees for each required axis, in a positive 
  anti-clockwise direction. Use a value of 0 if no rotation is required for
  a particular axis.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="rotate_reverse"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">rotate_reverse</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">azi</span>,
        <span class="sig-arg">alt</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.rotate_reverse">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Similar to node.rotate, this command rotates the specified node in the
  last created object about the Transformation Origin, except in reserve 
  order. This allows a normal polar rotation to be un-done correctly.</p>
  <p>Parameter(s) This command takes the following parameters.</p>
  <p>azi The azimuth angle of rotation, in decimal degrees.</p>
  <p>alt The altitude angle of rotation, in decimal degrees.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="scale"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">scale</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">scale_factor</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.scale">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Scale the specified node in the last selected object.</p>
  <p>Parameter(s) This command takes the following parameters.</p>
  <p>scale_factor A list of three values that specifies the scale factor to
  apply in each of the major X, Y and Z axis.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="xform"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">xform</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">trans</span>,
        <span class="sig-arg">function_values</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.xform">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Applies a generic transformation to the specified node in the last 
  selected object.</p>
  <p>Parameter(s) This command takes the following parameters.</p>
  <p>trans The generic tranformation to apply, according to the Transform 
  Types table below.</p>
  <p>function_values A list of three values that specify the function 
  determined by the specified trans parameter, as shown in the table 
  below.</p>
  <p>Relevant Data Table(s) Transformation Types Token Description axis 
  Axial rotation, where x , y and z are axial angles in degrees. reverse 
  Reverse polar rotation, where x and y are azi and alt in degrees. rotate 
  Polar rotation, where x and y are azi and alt in degrees. move Translate 
  objects by x , y and z values in the major axis. scale Scale objects by x
  , y and z in the major axis. mirror Mirror objects around About Point and
  vector formed by x , y and z. normal Extrude objects a distance of x 
  along its surface normal. extrude Extrude objects by x , y and z in the 
  major axis. revolve Revolve objects around axis x , y degrees and in z 
  segments. nudge Nudge objects a distance of x , y and z in the major 
  axis.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="get_flag"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_flag</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">flag</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.get_flag">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Gets the state of individual node flags.</p>
  <p>Parameter(s) This property takes the following parameters.</p>
  <p>flag Refer to the table below.</p>
  <p>Return Value(s) Getting this property returns the following 
  value(s).</p>
  <p>state The boolean state of the selected bitwise flag. If set, the 
  value is 1, if not it is 0. The table below gives the bitwise values of 
  each available node flag.</p>
  <p>Relevant Data Table(s)</p>
  <p>Available Attribute Flags Token Value Description text 1 Display 
  object attribute as a text value vectors 2 Display object attribute as a 
  vector. colours 4 Display object attribute as a fill colous.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="set_flag"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">set_flag</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">flag</span>,
        <span class="sig-arg">state</span>=<span class="sig-default">True</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.set_flag">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Sets individual flags that control the display of attribute 
  values.</p>
  <p>Parameter(s) This property takes the following parameters.</p>
  <p>flag This parameter specifies the bitwise flag to be set or 
  cleared.</p>
  <p>[state] This parameter determines whether the flag is to be set or 
  cleared. This is a boolean value where 1 or true represents the 
  affirmative and 0 or false the negative. If not included, it defaults to 
  true.</p>
  <p>Relevant Data Table(s)</p>
  <p>Available Attribute Flags Token Value Description text 1 Display 
  object attribute as a text value vectors 2 Display object attribute as a 
  vector. colours 4 Display object attribute as a fill colous.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="get_type"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_type</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.get_type">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Retrieves the node type for the specified node in the last created 
  object, according to the following Node Types table.</p>
  <p>Parameter(s) There are no parameters for this property.</p>
  <p>Return Value(s) Getting this property returns the following 
  value(s).</p>
  <p>type The type of node, according to the following Node Types 
  table.</p>
  <p>Relevant Data Table(s)</p>
  <p>Node Types Token Value Description editable 0 An editable unlinked 
  node (default) constrained 1 Constrained to parent extrusion vector. 
  linked 2 Linked to another node by current offset. locked 3 Locked in 
  place. bound 4 Bound to the position of linked node. fillet 5 Control 
  node for a virtual fillet. arc 6 Control node for a virtual arc. bezier 7
  Control node for a virtual 3pt bezier spline. spline 8 Control node for a
  virtual spline curve.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="set_type"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">set_type</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">type</span>,
        <span class="sig-arg">link</span>=<span class="sig-default">-1</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="py2ecotect.obj._node-pysrc.html#Node.set_type">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Sets the node type for the specified node in the last created 
  object.</p>
  <p>Parameter(s) This property takes the following parameters.</p>
  <p>type Sets the type of node, according to the following Node Types 
  table.</p>
  <p>[link] This optional parameter may be given if the set node type is 
  such that it establishes a link between this node and another object.</p>
  <p>Relevant Data Table(s)</p>
  <p>Node Types Token Value Description editable 0 An editable unlinked 
  node (default) constrained 1 Constrained to parent extrusion vector. 
  linked 2 Linked to another node by current offset. locked 3 Locked in 
  place. bound 4 Bound to the position of linked node. fillet 5 Control 
  node for a virtual fillet. arc 6 Control node for a virtual arc. bezier 7
  Control node for a virtual 3pt bezier spline. spline 8 Control node for a
  virtual spline curve.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== PROPERTY DETAILS ==================== -->
<a name="section-PropertyDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Property Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-PropertyDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="eco_id"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">eco_id</h3>
  <p>Id of the node object</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fget(<span class="summary-sig-arg">self</span>)</span>
        - Id of the node object
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="flags"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">flags</h3>
  <p>Retrieves a value representing the total of all the node's flags.</p>
  <p>Parameter(s) There are no parameters for this property.</p>
  <p>Return Value(s) Getting this property returns the following 
  value(s).</p>
  <p>flags The bitwise total of all the flags currently set. The table 
  below gives the bitwise values of each available node flag.</p>
  <p>Relevant Data Table(s) table_NodeFlags.txt</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fget(<span class="summary-sig-arg">self</span>)</span>
        - Retrieves a value representing the total of all the node's flags.
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="link"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">link</h3>
  <p>Gets the node or object this node is linked to.</p>
  <p>Parameter(s) There are no parameters for this property.</p>
  <p>Return Value(s) Getting this property returns the following 
  value(s).</p>
  <p>link The zero-based index of the object or node to which the specified
  node is linked.</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fget(<span class="summary-sig-arg">self</span>)</span>
        - Gets the node or object this node is linked to.
    </dd>
    <dt>Set Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fset(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">link</span>)</span>
        - Sets individual flags that control the display of attribute values.
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="modifier"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">modifier</h3>
  <p>Gets the node modifier value. This is decimal value whose use depends 
  on the inter-node relationships to which this node is a party. Typically 
  it stores the relative offset along the extrusion vector when it is part 
  of an object created from the extrusion of a parent. For non-linked 
  object, you are free to use it for anything you wish.</p>
  <p>Parameter(s) There are no parameters for this property.</p>
  <p>Return Value(s) Getting this property returns the following 
  value(s).</p>
  <p>mod The decimal value of the node modifier.</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fget(<span class="summary-sig-arg">self</span>)</span>
        - Gets the node modifier value.
    </dd>
    <dt>Set Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fset(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">mod</span>)</span>
        - Sets the node modifier value.
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="position"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">position</h3>
  <p>Retrieves the position of the node in absolute world coordinates in 
  each of the major axes. Three coordinate values are returned.</p>
  <p>Parameter(s) There are no parameters for this property.</p>
  <p>Return Value(s) Getting this property returns the following 
  value(s).</p>
  <p>x, y, z Represents the absolute position in the X, Y and Z axis of the
  node in 3 dimensional model space.</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fget(<span class="summary-sig-arg">self</span>)</span>
        - Retrieves the position of the node in absolute world coordinates in each of
the major axes.
    </dd>
    <dt>Set Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fset(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">absolute_position</span>)</span>
        - Sets the position of the node in absolute world coordinates in each of the 
major axes.
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="selected"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">selected</h3>
  <p>Retrieves the selection state of the specified node.</p>
  <p>Parameter(s) There are no parameters for this property.</p>
  <p>Return Value(s) Getting this property returns the following 
  value(s).</p>
  <p>state If this value is 1, then the node is selected. If 0 the node is 
  not selected.</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fget(<span class="summary-sig-arg">self</span>)</span>
        - Retrieves the selection state of the specified node.
    </dd>
    <dt>Set Method:</dt>
    <dd class="value"><span class="summary-sig"><i>unreachable</i>.fset(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">state</span>=<span class="summary-sig-default">1</span>)</span>
        - Sets the selection state of the specified node.
    </dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="py2ecotect-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >py2ecotect</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Fri Aug 28 01:29:48 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
